{literal}
<script>
function updateAcyEditor(v)
{
	if(v==1) {
		window.document.getElementById("textfieldset0").style.display = 'none';
		window.document.getElementById("textfieldset1").style.display = 'block';
	} else {
		window.document.getElementById("textfieldset1").style.display = 'none';
		window.document.getElementById("textfieldset0").style.display = 'block';
	}
}
</script>
<style>
form {
	margin: 0;
	padding: 0;
}
</style>
{/literal}
<!-- Content Area -->
<div class="dma-thumbnail">
    <div class="content">
            
        <div class="header">
            
            <h1 class="page-title">ADD NEWSLETTER</h1>
        </div>
        
        <ul class="breadcrumb">
            <li><a href="#">Home</a> <span class="divider">/</span></li>
            <li><a href="{$link_return}">Newsletter</a> <span class="divider">/</span></li>
            <li class="active">Create</li>
        </ul>        
		{if $msg}
        <div class="alert alert-success">
         <button class="close" data-dismiss="alert" type="button">×</button>
        {$msg}   
        </div>
        {/if}    
        <div class="container-fluid">
        	<form name="frmAdmin" action="{$action}" method="post">
            <div class="row-fluid">
                <div class="btn-toolbar">
                    <button class="btn btn-primary" type="button" onclick="javascript:document.frmAdmin.submit();"><i class="icon-save"></i> Send</button>
                    <a href="{$link_return}" data-toggle="modal" class="btn">Cancel</a>
                  <div class="btn-group">
                  </div>
                </div>
                <div class="well">
                    <label class="control-label">Phone</label>
                    <input id="phone" type="text" name="phone" size="40" value="{$phone}" />
                    <label class="control-label">Group</label>
               		 {html_options name=group_id options=$groups selected=$group_id}                     
                    <label class="control-label">Message</label>                            
                    <textarea style="width:40%" rows="8" name="message" id="message" >{$message}</textarea>                   
                </div>
                                                       
            </div>
           
            </form>
        </div>
    </div>
</div>

  <!-- end of element-box -->
  
  <noscript>
  Warning! JavaScript must be enabled for proper operation of the Administrator backend.
  </noscript>
  <div class="clr"></div>
</div>
<!-- end of content -->